package com.ibeeking.found.org.service.common.dos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ibeeking.found.common.base.BaseDO;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;

/**
 * @ClassName OrgJobDO
 * @Description
 * @Author ibeeking
 * @Date 2021-01-06 10:42
 **/
@ToString(callSuper=true)
@Data
@TableName("org_job")
public class OrgJobDO implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    /**
     * 职位代码
     */
    @TableField(value = "code")
    private String code;

    /**
     * 职位名称
     */
    @TableField(value = "name")
    private String name;

    /**
     * 职级1=一级；2=二级...
     */
    @TableField(value = "level")
    private Integer level;

    /**
     * 顺序号
     */
    @TableField(value = "sort")
    private Integer sort;

    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;

    /**
     * 是否启用，1-启用，0-未启用
     */
    @TableField(value = "publish_status")
    private Integer publishStatus;
}
